<template>
	<view>
		<slot >
			<diy-swiper :set="list.set" v-if="list.name=='diy_swiper'"></diy-swiper>
			<diy-search :set="list.set" v-else-if="list.name=='diy_search'"></diy-search>
			<diy-image :set="list.set" v-else-if="list.name=='diy_image'"></diy-image>
			<diy-cell :set="list.set" v-else-if="list.name=='diy_cell'"></diy-cell>
			<diy-alert :set="list.set" v-else-if="list.name=='diy_alert'"></diy-alert>
			<diy-notice-bar :set="list.set" v-else-if="list.name=='diy_notice_bar'"></diy-notice-bar>
			<diy-title :set="list.set" v-else-if="list.name=='diy_title'"></diy-title>
			<diy-gap :set="list.set" v-else-if="list.name=='diy_gap'"></diy-gap>
			<diy-html :set="list.set" v-else-if="list.name=='diy_html'"></diy-html>
			<diy-line :set="list.set" v-else-if="list.name=='diy_line'"></diy-line>
			<diy-grid :set="list.set" v-else-if="list.name=='diy_grid'"></diy-grid>
			<diy-row-list :set="list.set" v-else-if="list.name=='diy_row_list'"></diy-row-list>
			<diy-banner :set="list.set" v-else-if="list.name=='diy_banner'"></diy-banner>
			<diy-goods :set="list.set" v-else-if="list.name=='diy_goods'"></diy-goods>
			<diy-buy :set="list.set" v-else-if="list.name=='diy_buy'"></diy-buy>
			<diy-article-list :set="list.set" v-else-if="list.name=='diy_article_list'"></diy-article-list>
			<diy-button :set="list.set" v-else-if="list.name=='diy_button'"></diy-button>
			<diy-map :set="list.set" v-else-if="list.name=='diy_map'"></diy-map>
			<diy-articles :set="list.set" v-else-if="list.name=='diy_articles'"></diy-articles>
			<gongzhonghao :set="list.set" v-else-if="list.name=='gongzhonghao'"></gongzhonghao>
			<plugin-form :set="list.set" v-else-if="list.name=='plugin_form'"></plugin-form>
			<diy-list :set="list.set" v-else-if="list.name=='diy_list'"></diy-list>
			<diy-tab :set="list.set" v-else-if="list.name=='diy_tab'"></diy-tab>
			<diy-img-grid-three :set="list.set" v-else-if="list.name=='diy_img_grid_three'"></diy-img-grid-three>
		</slot>
	</view>
</template>

<script>
	export default {
		name: "moxi-index",
		data() {
			return {
				userinfo:{}
			};
		},
		props: {
			list: {
				default: {}
			},
			keys: {
				default: ""
			}
		},
		created: function() {
			this.$set(this,'userinfo',this.$appData.userinfo)
			
		},
		methods: {

		}
	}
</script>

<style>

</style>